luci-app-statistics: Adds ability to configure encrypted connections in the MQTT...
authorNat Gist <[email protected]>
Fri, 22 Aug 2025 20:44:02 +0000 (20:44 +0000)
committerHannu Nyman <[email protected]>
Mon, 25 Aug 2025 16:27:53 +0000 (19:27 +0300)
commit3a45003bfb8eb7fc1fa1cdc2d565651a2c613af6
tree6dc2c9fe70af8cd0ca3f81976d93dba73e81e60d
parent9c7e472edb207cb18a46fd191471dcdfc2645da0
luci-app-statistics: Adds ability to configure encrypted connections in the MQTT package

Updates mqtt.js to add user interface to configure a path to a CA Cert file to be used by MQTT to verify the servers certificate, and adds a setting to configure the TLS verison to be used for the conneciton. Also updates stat-genconfig to then copy these settings into the generated collectd.conf

Signed-off-by: Nat Gist <[email protected]>
applications/luci-app-statistics/htdocs/luci-static/resources/view/statistics/plugins/mqtt.js
applications/luci-app-statistics/root/usr/libexec/stat-genconfig